package cc.lucien.repository;

import cc.lucien.entity.GoodType;
import cc.lucien.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodTypeRepository {
    List<GoodType> findAll();

    Role findById(Integer id);

    int save(GoodType goodType);

    int update(GoodType goodType);

    int deleteById(Integer id);
}
